package com.oneonefive.educationsystem.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;


@TableName(value = "s_req")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class StudentRequest implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer srId;

    private String term;

    private Integer userId;

    private Integer week;

    private Integer section;

    private String labId;

    private String reason;

    private Date date;

    private Integer state;

    private Integer weekday;

    @TableField(exist = false)
    private User user;


}